package com.code.controller;

import com.code.service.MailService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 邮件发送测试
 *
 * @author wwei
 * @date 2019/5/16
 */
@RestController
@RequestMapping("/mail")
public class MailController {

    private final MailService mailService;

    public MailController(MailService mailService) {
        this.mailService = mailService;
    }
//
//    public ResultData sentMail(){
//        return mailService.sentMail();
//    }

}
